package com.xuwang.pojo;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 菜品关系表（菜品的添加剂和原料关系）(FoodRelation)实体类
 *
 * @author abaaba
 * @since 2021-09-15 20:31:41
 * @version 1.0
 */
@ApiModel(value = "FoodRelation",description = "菜品关系表（菜品的添加剂和原料关系）")
public class FoodRelation implements Serializable {
    private static final long serialVersionUID = -92369265509415520L;
    /**
    * 主键id
    */
	@ApiModelProperty(name = "id",notes = "主键id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 1原料，2添加剂
    */
	@ApiModelProperty(name = "foodRelationType",notes = "1原料，2添加剂",dataType = "Integer",required = true)
    private Integer foodRelationType;
    /**
    * match_name
    */
	@ApiModelProperty(name = "foodRelationMatchName",notes = "match_name",dataType = "String",required = true)
    private String foodRelationMatchName;
    /**
    * 对应使用量
    */
	@ApiModelProperty(name = "foodRelationMatchNumber",notes = "对应使用量",dataType = "Double",required = true)
    private Double foodRelationMatchNumber;
    /**
    * 对应菜品id
    */
	@ApiModelProperty(name = "foodId",notes = "对应菜品id",dataType = "Integer",required = true)
    private Integer foodId;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getFoodRelationType() {
        return foodRelationType;
    }

    public void setFoodRelationType(Integer foodRelationType) {
        this.foodRelationType = foodRelationType;
    }
        
    public String getFoodRelationMatchName() {
        return foodRelationMatchName;
    }

    public void setFoodRelationMatchName(String foodRelationMatchName) {
        this.foodRelationMatchName = foodRelationMatchName;
    }

    public Double getFoodRelationMatchNumber() {
        return foodRelationMatchNumber;
    }

    public void setFoodRelationMatchNumber(Double foodRelationMatchNumber) {
        this.foodRelationMatchNumber = foodRelationMatchNumber;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

}